<section id="page-title"><div class="row"><div class="col-sm-8"><h1 class="mainTitle">交接班记录列表</h1><span class="mainDescription">交接班记录</span></div></div></section>
<div ng-controller="shiftRecordCtrl">
  <div class="row margin-top-10 margin-bottom-10">
    <!-- <a class="btn btn-wide btn-green" ng-click="export(start,end)" ><span translate="sidebar.nav.configuremanagerdb.LISTButton.EXPORT">Export Data</span><i class="fa fa-cloud-download fa-white"></i></a> -->
    <div class="col-xs-7 pull-left btn btn-wide" style="background-color: #EDF1F2;margin-left: 15px">
      <div class="col-xs-4">
        <input type="text" placeholder="输入开始日期" class="form-control no-padding-hr "  datepicker-popup="yyyy-MM-dd" ng-model="start"  is-open="startOpened" ng-init="startOpened = false" min-date="'1970-12-31'" max-date="end" ng-required="true" close-text="关闭"  ng-click="startOpen($event)"></div>
       <div class="col-xs-4">
        <input type="text" placeholder="输入截止日期" class="form-control no-padding-hr "  datepicker-popup="yyyy-MM-dd" ng-model="end" is-open="endOpened" ng-init="endOpened = false" min-date="start" max-date="'2020-06-22'" ng-required="true" close-text="关闭"  ng-click="endOpen($event)" ></div>
      <div  class="col-xs-1.5 btn btn-primary pull-left" ng-click="search(start,end)">搜索<i class="fa fa-search"/></div>
      <a class="col-xs-1.5 btn btn-info pull-right" ladda="ldloading.expand_right" ng-click="export(start,end)" ><span translate="sidebar.nav.configuremanagerdb.LISTButton.EXPORT">Export Data</span><i class="fa fa-cloud-download fa-white"></i></a>
    </div>
  </div>
  <!--ui-grid-edit -->
  <div ui-i18n="{{lang}}">
        <div id="grid1" ui-grid="gridOptions" ui-grid-pagination external-scopes="$scope" ui-grid-cellNav ui-grid-resize-columns ui-grid-selection class="grid"></div>
  </div>
</div>